<?php

use yii\db\Migration;

class m170228_023517_alter_scholarship_frozen_log extends Migration
{
    public function safeUp()
    {
        $this->addColumn('{{%scholarship_frozen_log}}','site_id','integer(11)  default 0 comment \'分店id\'');
        $this->addColumn('{{%scholarship_frozen_log}}','mode','tinyint(2)  default 0 comment \'所属类型（1共同体 2综合体 3管弦乐）\'');
    }

    public function safeDown()
    {
        $this->dropColumn('{{%scholarship_frozen_log}}','site_id');
        $this->dropColumn('{{%scholarship_frozen_log}}','mode');
    }
}
